## training config 
train_cfg = {
    'feature_maps' : [[128, 128], [64, 64], [32, 32], [16, 16], [8, 8], [6, 6], [4, 4]],

    'min_dim' : [512, 512],

    'steps' : [[4, 4], [8, 8], [16, 16], [32, 32], [64, 64], [86, 86], [128, 128]],
    'scales': [[4, 6, 8, 10, 12, 16], [20, 24, 28, 32], [36, 40, 44, 48], [56, 64, 72, 80], [88, 96, 104, 112], [124, 136, 148, 160], [184, 208, 232, 256]],
    'variance' : [0.1, 0.2],
    'clip' : True,
}


## configs of inputs with different resolutions 

cfg_512x512 = {
    'feature_maps' : [[128, 128], [64, 64], [32, 32], [16, 16], [8, 8], [6, 6], [4, 4]],

    'min_dim' : [512, 512],

    'steps' : [[4, 4], [8, 8], [16, 16], [32, 32], [64, 64], [86, 86], [128, 128]],
    'scales': [[4, 6, 8, 10, 12, 16], [20, 24, 28, 32], [36, 40, 44, 48], [56, 64, 72, 80], [88, 96, 104, 112], [124, 136, 148, 160], [184, 208, 232, 256]],
    'variance' : [0.1, 0.2],
    'clip' : True,
}



cfg_768x768 = {
    'feature_maps' : [[192, 192], [96, 96], [48, 48], [24, 24], [12, 12], [10, 10], [8, 8]],

    'min_dim' : [768, 768],

    'steps' : [[4, 4], [8, 8], [16, 16], [32, 32], [64, 64], [77, 77], [96, 96]],
    'scales': [[4, 6, 8, 10, 12, 16], [20, 24, 28, 32], [36, 40, 44, 48], [56, 64, 72, 80], [88, 96, 104, 112], [124, 136, 148, 160], [184, 208, 232, 256]],
    'variance' : [0.1, 0.2],
    'clip' : True,
}

cfg_768x1280 = {
    'feature_maps' : [[192, 320], [96, 160], [48, 80], [24, 40], [12, 20], [10, 18], [8, 16]],

    'min_dim' : [768, 1280],
    'steps' : [[4, 4], [8, 8], [16, 16], [32, 32], [64, 64], [77, 72], [96, 80]],
    'scales': [[4, 6, 8, 10, 12, 16], [20, 24, 28, 32], [36, 40, 44, 48], [56, 64, 72, 80], [88, 96, 104, 112], [124, 136, 148, 160], [184, 208, 232, 256]],
    'variance' : [0.1, 0.2],
    'clip' : True,
}

cfg_1280x1280 = {
    'feature_maps' : [[320, 320], [160, 160], [80, 80], [40, 40], [20, 20], [18, 18], [16, 16]],

    'min_dim' : [1280, 1280],

    'steps' : [[4, 4], [8, 8], [16, 16], [32, 32], [64, 64], [72, 72], [80, 80]],
    'scales': [[4, 6, 8, 10, 12, 16], [20, 24, 28, 32], [36, 40, 44, 48], [56, 64, 72, 80], [88, 96, 104, 112], [124, 136, 148, 160], [184, 208, 232, 256]],
    'variance' : [0.1, 0.2],
    'clip' : True,
}
